﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Vinetlife.Master" AutoEventWireup="true" CodeBehind="ChangePassword.aspx.cs" Inherits="VINETLIFE.Customers.ChangePassword" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="/Module/ucVnLeftCustomerMenu.ascx" TagName="ucVnLeftCustomerMenu" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="main-container-inner">
        <div class="main-container-inner">
            <div id="breadcrumb">
                <ul class="crumbs">
                    <li class="first"><a href="/" style="z-index: 9;" title="Trang chủ"><span></span>Trang chủ</a></li>
                    <li><a href="/trang-ca-nhan/" style="z-index: 8;">Trang cá nhân</a></li>
                    <li><a href="/doi-mat-khau/" style="z-index: 7;">Đổi mật khẩu</a></li>
                </ul>
            </div>
            <div class="t-content-wrap">
                <div class="main-container-inner-left">
                    <uc1:ucVnLeftCustomerMenu ID="ucVnLeftCustomerMenu1" runat="server" />
                </div>
                <div class="main-container-inner-right">
                    <div class="div-comment">
                        <div class="comment-box-out">
                            <div class="comment-box-register">
                                <h4 class="h4style1">Thay đổi mật khẩu</h4>
                                <div class="account-info-box">
                                    <table class="table-comment">
                                        <tr>
                                            <td class="table-cm-l" style="width:180px;">Mật khẩu hiện tại</td>
                                            <td class="table-cm-r">
                                                <asp:TextBox ID="txtOldPass" runat="server" CssClass="comment-name" TextMode="Password" Width="200px"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="*"
                                                    ControlToValidate="txtOldPass" ValidationGroup="register" Display="Dynamic"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr> <td class="table-cm-l"></td>
                                            <td class="table-cm-r"></td>
                                            </tr>
                                        <tr> <td class="table-cm-l"></td>
                                            <td class="table-cm-r"></td>
                                            </tr>
                                        <tr>
                                            <td class="table-cm-l">Mật khẩu mới</td>
                                            <td class="table-cm-r">
                                                <asp:TextBox ID="txtNewPass" runat="server" CssClass="comment-name" TextMode="Password" Width="200px"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                                                    ControlToValidate="txtNewPass" ValidationGroup="register"  Display="Dynamic"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                         <tr>
                                            <td class="table-cm-l">Nhập lại mật khẩu mới</td>
                                            <td class="table-cm-r">
                                                <asp:TextBox ID="txtReNewPass" runat="server" CssClass="comment-name" TextMode="Password" Width="200px"></asp:TextBox>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
                                                    ControlToValidate="txtReNewPass" ValidationGroup="register" Display="Dynamic"></asp:RequiredFieldValidator>
                                                <asp:CompareValidator runat="server" ID="ras" ControlToCompare="txtNewPass" ControlToValidate="txtReNewPass" ForeColor="Red" Display="Dynamic" Font-Size="11px" Font-Bold="true" ErrorMessage="Mật khẩu nhập lại chưa đúng"></asp:CompareValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="table-cm-l"></td>
                                            <td class="table-cm-r">
                                              <asp:Button runat="server" id="btnSave" CssClass="btnLogin" Text="Lưu lại" OnClick="btnSave_Click"  ValidationGroup="register" />
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
